package com.ws.dz.web;

import com.ws.rain.doc.swagger.EnableRainDoc;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import static com.ws.dz.api.comm.Const.*;


@EnableDubbo
@EnableRainDoc(basePackage = "com.ws.dz.web.controller")
@MapperScan(basePackages = DAO)
@SpringBootApplication(scanBasePackages = {WEB,DAO})
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }

}
